home *** CD-ROM | disk | FTP | other *** search
- Path: pop.gnn.com!PLayton
- From: PLayton@gnn.com (Pam Layton)
- Newsgroups: comp.lang.c++
- Subject: doublelinked lists
- Date: Tue, 02 Apr 1996 13:41:44
- Organization: APCO, Inc.
- Message-ID: <4jrs9g$1pl@news-e2c.gnn.com>
- NNTP-Posting-Host: www-36-213.gnn.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset="us-ascii"
- X-GNN-NewsServer-Posting-Date: 2 Apr 1996 18:39:44 GMT
- X-Mailer: GNNmessenger 1.2
-
- I need some help. I have written a program for my C++ class. It
- contains a struct for name information, a stuct for address
- information. Then 3 classes, 1 for the name info, 1 for address
- info, and 1 for combining the two. This creates a nice little
- address list. I have the information stored in an array. Now, I
- need to modify this program to use a double linked list instead of
- an array and be able to insert the information into the proper
- spot. Alphabetically. Does anyone know the best way I can go
- about this? Do I do away with the classes and all, or can I work
- with it as I have it? It wasn't explained to us very well and I
- really don't understand.
-
- Thank you for any suggestions.
-
- Pam
-
-